package com.itcast.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @RequestMapping("/demo01")
    public String method()
    {
        System.out.println("我被调用了");
        return "hello world";
    }
}
